<template>
	<view class="special-enter-page page">
		<image class="top-bg" :src="cloudStorage+'index/top-bg.png'"></image>
		<CustomNav :isBack="true" :color="titleColor" :topBgColor="topBgColor" title="肃州种子"></CustomNav>
		<view class="white-block">
			<view @click="navigate('/page_pack/seed/list')" class="menu-item">
				<view class="menu-name FZHZGBJ">
					<image class="menu-icon" :src="cloudStorage+'index/environment.png'"></image>基地环境
				</view>
				<view class="title">肃州区种子研发中心、物流中心和种子企业展示</view>
			</view>
			<view @click="navigate('/page_pack/seed/show')" class="menu-item">
				<view class="menu-name FZHZGBJ">
					<image class="menu-icon" :src="cloudStorage+'index/seed-show.png'"></image>种子展示
				</view>
				<view class="title">展示种子的粗脂肪、粗淀粉、粗蛋白、容重等参数</view>
			</view>
			<view @click="navigate('/page_pack/seed/case_list')" class="menu-item">
				<view class="menu-name FZHZGBJ">
					<image class="menu-icon" :src="cloudStorage+'index/case.png'"></image>项目案例
				</view>
				<view class="title">肃州区种子在其他地区成功繁育的案例</view>
			</view>
			<view @click="navigate('/page_pack/seed/contact')" class="menu-item">
				<view class="menu-name FZHZGBJ">
					<image class="menu-icon" :src="cloudStorage+'index/contact.png'"></image>联系我们
				</view>
				<view class="title">用户可以线上留言</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				titleColor: '#000',
				topBgColor: 'rgba(0,0,0,0)',
			}
		}
	}
</script>

<style lang="scss" scoped>
	.special-enter-page {
		width: 100%;

		.top-bg {
			width: 100%;
			height: 480rpx;
		}

		.white-block {
			min-height: calc(100vh - 430rpx);
			position: relative;
			margin-top: -50rpx;
			padding: 30rpx;
			width: 100%;
			border-radius: 20px 20px 0 0;
			background: #fff;

			.menu-item {
				width: 100%;
				height: 260rpx;
				border-radius: 10px;
				display: flex;
				flex-direction: column;
				justify-content: center;
				padding-left: 50rpx;
				margin-bottom: 30rpx;

				.menu-name {
					display: flex;
					align-items: center;
					color: #fff;
					font-size: 40rpx;
					margin-bottom: 40rpx;

					.menu-icon {
						width: 50rpx;
						height: 50rpx;
						margin-right: 20rpx;
					}
				}

				.title {
					font-size: 28rpx;
					color: #fff;
				}
			}

			.menu-item:nth-child(1) {
				background-image: linear-gradient(#FF794C, #FDBB7C);
			}

			.menu-item:nth-child(2) {
				background-image: linear-gradient(#00D67D, #5AEBB3);
			}

			.menu-item:nth-child(3) {
				background-image: linear-gradient(#7475FA, #A8A7FF);
			}

			.menu-item:nth-child(4) {
				background-image: linear-gradient(#FF6E69, #FF9A9A);
			}
		}
	}
</style>